# -*- coding:utf-8 -*-

class Cat:
    def __init__(self,new_name,new_age):
        self.new_name = new_name
        self.new_age = new_age

    def __str__(self):
        return f"{self.new_name}的年龄是：{self.new_age}"

    def eat(self):
        print("猫正在吃鱼。。。")

    def dink(self):
        print(f"{self.name}的年龄是：{self.age}")


tom = Cat("汤姆",40)

lanmao = Cat("蓝猫",20)

print(tom)
print(lanmao)
